package cn.kgc.dao;

import cn.kgc.entity.Account;

import java.sql.SQLException;

/**
 * (Account)表数据库访问层
 */
public interface AccountDao {
    /**
     * 根据账号查询账户
     */
    Account getAccountByNum(String accountNum) throws SQLException;

    /**
     * 更新账户
     */
    Integer updateAccount(Account account) throws SQLException;

}